Bookly\Frontend\Modules\Booking\Ajax D

Total Complexity 231
Dependencies 41
Dependents 1
Total lines 1,399
Lines of code 1,076
Logical lines of code 533
Comment lines 172
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
renderTime()
D
25
40 139
_prepareProgressTracker()
C
34 29 79
renderPayment()
C
34 23 89
saveAppointment()
B
37 15 77
renderDetails()
A
39 14 63
sessionSave()
A
43 13 45
renderService()
A
37 9 76
renderNextTime()
A
43 11 42
approveAppointment()
A
44 9 42
renderComplete()
A
43 8 46
rejectAppointment()
A
47 7 35
renderExtras()
S
46 6 40
renderRepeat()
S
42 5 52
getGateways()
S
47 6 37
_setDataForSkippedServiceStep()
S
46 5 38
_handleTimeZone()
S
53 6 23
wpUserLogin()
S
43 4 49
downloadIcs()
S
47 5 34
renderCart()
S
51 5 25
checkCart()
S
56 3 18
cancelAppointment()
S
62 3 10
csrfTokenValid()
S
63 2 11
_showCartButton()
S
78 2 3
permissions()
S
79 1 3